package com.jjsj.mall.shop.mapper;

import com.jjsj.mall.shop.entity.YoshopUser;

import java.util.List;

public interface YoshopUserMapper {

    /**
     * 查询jjsj用户
     *
     * @param userId jjsj用户ID
     * @return jjsj用户
     */
    public YoshopUser selectYoshopUserById(String userId);

    /**
     * 查询jjsj用户列表
     *
     * @param yoshopUser jjsj用户
     * @return jjsj用户集合
     */
    public List<YoshopUser> selectYoshopUserList(YoshopUser yoshopUser);

    /**
     * 新增jjsj用户
     *
     * @param yoshopUser jjsj用户
     * @return 结果
     */
    public int insertYoshopUser(YoshopUser yoshopUser);

    /**
     * 修改jjsj用户
     *
     * @param yoshopUser jjsj用户
     * @return 结果
     */
    public int updateYoshopUser(YoshopUser yoshopUser);

    /**
     * 批量删除jjsj用户
     *
     * @param userIds 需要删除的jjsj用户ID
     * @return 结果
     */
    public int deleteYoshopUserByIds(String[] userIds);

    /**
     * 删除jjsj用户信息
     *
     * @param userId jjsj用户ID
     * @return 结果
     */
    public int deleteYoshopUserById(String userId);
}
